package com.gupaoedu.design.strategy.pro_single.seriable;

import java.io.Serializable;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2018/3/12.
 */
public class Seriable implements Serializable{

    private static final Seriable instance = new Seriable();

    private Seriable(){}

    public static Seriable newInstance() {
        return instance;
    }

    private Object readResolve() {
        System.out.println("read resolve");
        return instance;
    }
}
